package com.sdy.supermarket.biz.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 流程配置
 * </p>
 *
 * @author zzq
 * @since 2019-07-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class GsApproveFlowConfig extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private Integer id;

    /**
     * 流程分类
     */
    private Integer flowType;

    /**
     * 流程配置编码
     */
    private String configNo;

    /**
     * 环节
     */
    private Integer section;

    /**
     * 部门
     */
    private Integer deptId;

    /**
     * 角色
     */
    private Integer roleId;

    /**
     * 下个流程id
     */
    private Integer nextFlow;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date createTime;

}
